package com.lingo.mgr.domain.bo;

import com.lingo.common.core.domain.PageQuery;
import com.lingo.common.core.validate.AddGroup;
import com.lingo.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 聊天消息会话业务对象 chat_session
 *
 * @author ruoyi
 * @date 2023-08-30
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ChatSessionBo extends PageQuery {

    /**
     * 会话id
     */
    @NotNull(message = "会话id不能为空", groups = { EditGroup.class })
    private Long sessionId;

    /**
     * 用户userId
     */
    private Long userId;

    /**
     * 备注
     */
    private String remark;

    /**
     * 模型类型：1:GPT-3.5,2:GPT-4.0
     */
    @NotNull(message = "模型类型：1:GPT-3.5,2:GPT-4.0不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long modelId;

}
